package com.aiti.lulian.service;

import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.dto.crm.SupplyToCRMParamDto;

/**
 * 企业供需大厅添加商机到CRM系统
 */
public interface SupplyToCRMService {

    /**
     * 供需大厅数据作为商机，添加到CRM系统
     * @param baseId
     * @param sourceFrom
     */
    void addSupplyToCRM(SupplyToCRMParamDto supplyToCRMParamDto, String userId);

    Integer isExist(SupplyToCRMParamDto supplyToCRMParamDto);

    Message addCRM(SupplyToCRMParamDto supplyToCRMParamDto, String userId);

    Boolean isCustomerExist(String companyId, String name);
}
